package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账套管理对象 fxy_financial_account_sets
 * 
 * @author ruoyi
 * @date 2025-01-15
 */
public class FxyFinancialAccountSets extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账套编号 */
    private Long id;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyName;

    /** 账套启用年月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账套启用年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enableDate;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String creditCode;

    /** 会计准则 */
    @Excel(name = "会计准则")
    private Integer accountingStandards;

    /** 单位所在地 */
    @Excel(name = "单位所在地")
    private String address;

    /** 是否启用出纳模块 */
    @Excel(name = "是否启用出纳模块")
    private Integer cashierModule;

    /** 行业 */
    @Excel(name = "行业")
    private Integer industry;

    /** 是否启用固定资产模块 */
    @Excel(name = "是否启用固定资产模块")
    private Integer fixedAssetModule;

    /** 增值税种类 */
    @Excel(name = "增值税种类")
    private Integer vatType;

    /** 凭证是否需要审核 */
    @Excel(name = "凭证是否需要审核")
    private Integer voucherReviewed;

    /** 创建时间 */
    private Date createDate;

    /** 创建人 */
    private Long creatorId;

    /** 当前记账年月 */
    private Date currentAccountDate;

    /** 编码 */
    private String encoding;

    /** 父账套 */
    private Long parentId;

    /** 资产 */
    private Integer assets;

    /** 报表 */
    private Integer journal;

    private Long tenantId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setEnableDate(Date enableDate) 
    {
        this.enableDate = enableDate;
    }

    public Date getEnableDate() 
    {
        return enableDate;
    }
    public void setCreditCode(String creditCode) 
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode() 
    {
        return creditCode;
    }
    public void setAccountingStandards(Integer accountingStandards) 
    {
        this.accountingStandards = accountingStandards;
    }

    public Integer getAccountingStandards() 
    {
        return accountingStandards;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCashierModule(Integer cashierModule) 
    {
        this.cashierModule = cashierModule;
    }

    public Integer getCashierModule() 
    {
        return cashierModule;
    }
    public void setIndustry(Integer industry) 
    {
        this.industry = industry;
    }

    public Integer getIndustry() 
    {
        return industry;
    }
    public void setFixedAssetModule(Integer fixedAssetModule) 
    {
        this.fixedAssetModule = fixedAssetModule;
    }

    public Integer getFixedAssetModule() 
    {
        return fixedAssetModule;
    }
    public void setVatType(Integer vatType) 
    {
        this.vatType = vatType;
    }

    public Integer getVatType() 
    {
        return vatType;
    }
    public void setVoucherReviewed(Integer voucherReviewed) 
    {
        this.voucherReviewed = voucherReviewed;
    }

    public Integer getVoucherReviewed() 
    {
        return voucherReviewed;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }
    public void setCurrentAccountDate(Date currentAccountDate) 
    {
        this.currentAccountDate = currentAccountDate;
    }

    public Date getCurrentAccountDate() 
    {
        return currentAccountDate;
    }
    public void setEncoding(String encoding) 
    {
        this.encoding = encoding;
    }

    public String getEncoding() 
    {
        return encoding;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setAssets(Integer assets) 
    {
        this.assets = assets;
    }

    public Integer getAssets() 
    {
        return assets;
    }
    public void setJournal(Integer journal) 
    {
        this.journal = journal;
    }

    public Integer getJournal() 
    {
        return journal;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyName", getCompanyName())
            .append("enableDate", getEnableDate())
            .append("creditCode", getCreditCode())
            .append("accountingStandards", getAccountingStandards())
            .append("address", getAddress())
            .append("cashierModule", getCashierModule())
            .append("industry", getIndustry())
            .append("fixedAssetModule", getFixedAssetModule())
            .append("vatType", getVatType())
            .append("voucherReviewed", getVoucherReviewed())
            .append("createDate", getCreateDate())
            .append("creatorId", getCreatorId())
            .append("currentAccountDate", getCurrentAccountDate())
            .append("encoding", getEncoding())
            .append("parentId", getParentId())
            .append("assets", getAssets())
            .append("journal", getJournal())
            .append("tenantId", getTenantId())
            .toString();
    }
}
